package com.xly.entity;

import java.util.Date;

/** 
* @author Your-Name: Carey
* @version Create-Date：2020年3月18日 下午5:29:34 
* Class Description:
*/
public class MedicalRecord {
	  private int id;//主键
	  private String recordcode;//'病历编号'唯一,
	  private String phone;//'用户手机号' 唯一，必填,
	  private int departmentid;//外键 - '就诊科室ID',
	  private String seektime;//'就诊日期',
	  private String description;//'病情描述',
	  private String checkinfo;//'检查结果',
	  private String diagnosis;//'诊断结果',
	  private String prescription;//'处方'
	public MedicalRecord() {
		super();
	}
	public MedicalRecord(int id, String recordcode, String phone, int departmentid, String seektime,
			String description, String checkinfo, String diagnosis, String prescription) {
		super();
		this.id = id;
		this.recordcode = recordcode;
		this.phone = phone;
		this.departmentid = departmentid;
		this.seektime = seektime;
		this.description = description;
		this.checkinfo = checkinfo;
		this.diagnosis = diagnosis;
		this.prescription = prescription;
	}
	@Override
	public String toString() {
		return "MedicalRecord [id=" + id + ", recordcode=" + recordcode + ", phone=" + phone + ", departmentid="
				+ departmentid + ", seektime=" + seektime + ", description=" + description + ", checkinfo=" + checkinfo
				+ ", diagnosis=" + diagnosis + ", prescription=" + prescription + "]";
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getRecordcode() {
		return recordcode;
	}
	public void setRecordcode(String recordcode) {
		this.recordcode = recordcode;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public int getDepartmentid() {
		return departmentid;
	}
	public void setDepartmentid(int departmentid) {
		this.departmentid = departmentid;
	}
	public String getSeektime() {
		return seektime;
	}
	public void setSeektime(String seektime) {
		this.seektime = seektime;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public String getCheckinfo() {
		return checkinfo;
	}
	public void setCheckinfo(String checkinfo) {
		this.checkinfo = checkinfo;
	}
	public String getDiagnosis() {
		return diagnosis;
	}
	public void setDiagnosis(String diagnosis) {
		this.diagnosis = diagnosis;
	}
	public String getPrescription() {
		return prescription;
	}
	public void setPrescription(String prescription) {
		this.prescription = prescription;
	}
	  
}
